<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Promise</title>
</head>
<body

    <script>
        
        // 异步任务
        // fatch   网络请求
        setTimeout(() => {
            console.log("setTimeout");
        }, 10); 
        // 同步任务
        //进程CPU分配最小资源
        // 
        console.log("Promise");

    </script>
</body>
</html>